package com.wans.guli.member.feign;

import com.wans.guli.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "guli-integration", path = "/guli-integration")
public interface IntegrationFeignClient {
    @GetMapping("/api/v5/user")
    @ResponseBody
    R getUserInfo(@RequestParam("accessToken") String accessToken);
}
